import {
  http
} from '@/utils/http.js'


// 获取订单详情
export const getOrderInfoApi = (id) => {
  return http.get('/patient/consult/order/detail', {
    params: {
      orderId: id
    }
  })
}


// 提交医生评价
export const rateInfoApi = (data) => {
  return http.post('/patient/order/evaluate', data)
}

// 获取评价信息
export const getRateInfoApi = (id) => {
  return http.get(`/patient/order/evaluate/${id}`)
}